[INFO] cloning repository https://github.com/prasad-kumkar/near-ft-staking
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prasad-kumkar/near-ft-staking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fnear-ft-staking", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fnear-ft-staking'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6024120bf512c91bcc46a55305afdee780c8cf5
[INFO] testing prasad-kumkar/near-ft-staking against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasad-kumkar%2Fnear-ft-staking" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prasad-kumkar/near-ft-staking
[INFO] finished tweaking git repo https://github.com/prasad-kumkar/near-ft-staking
[INFO] tweaked toml for git repo https://github.com/prasad-kumkar/near-ft-staking written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prasad-kumkar/near-ft-staking on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prasad-kumkar/near-ft-staking already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76880cd2a4c5873a21ee949c15f9f72cc8357ed1ca9320644c13c5dadde0ca9b
[INFO] running `Command { std: "docker" "start" "-a" "76880cd2a4c5873a21ee949c15f9f72cc8357ed1ca9320644c13c5dadde0ca9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76880cd2a4c5873a21ee949c15f9f72cc8357ed1ca9320644c13c5dadde0ca9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76880cd2a4c5873a21ee949c15f9f72cc8357ed1ca9320644c13c5dadde0ca9b", kill_on_drop: false }`
[INFO] [stdout] 76880cd2a4c5873a21ee949c15f9f72cc8357ed1ca9320644c13c5dadde0ca9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c1a5f07fda4e9be8912a9ac0ac54fdb079526cb22a2cf5a39dc1cddab5cef3e
[INFO] running `Command { std: "docker" "start" "-a" "4c1a5f07fda4e9be8912a9ac0ac54fdb079526cb22a2cf5a39dc1cddab5cef3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.57
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling serde v1.0.118
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.68
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling near-runtime-utils v4.0.0-pre.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.2
[INFO] [stderr]    Compiling near-sdk-core v3.1.0
[INFO] [stderr]    Compiling derive_more v0.99.16
[INFO] [stderr]    Compiling near-sdk-macros v3.1.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling near-rpc-error-core v0.1.0
[INFO] [stderr]    Compiling near-rpc-error-macro v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.8.2
[INFO] [stderr]    Compiling borsh v0.8.2
[INFO] [stderr]    Compiling near-primitives-core v0.4.0
[INFO] [stderr]    Compiling near-vm-errors v4.0.0-pre.1
[INFO] [stderr]    Compiling near-vm-logic v4.0.0-pre.1
[INFO] [stderr]    Compiling near-sdk v3.1.0
[INFO] [stderr]    Compiling near-contract-standards v3.2.0
[INFO] [stderr]    Compiling staking v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `near_sdk::borsh::AccountId`, `near_sdk::borsh::Balance`, `near_sdk::borsh::PromiseOrValue`
[INFO] [stdout]  --> src/lib.rs:8:63
[INFO] [stdout]   |
[INFO] [stdout] 8 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize, AccountId, Balance, PromiseOrValue};
[INFO] [stdout]   |                                                               ^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^ no `PromiseOrValue` in the root
[INFO] [stdout]   |                                                               |          |
[INFO] [stdout]   |                                                               |          no `Balance` in the root
[INFO] [stdout]   |                                                               no `AccountId` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           near_sdk::AccountId
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           near_sdk::Balance
[INFO] [stdout]   = help: consider importing this enum instead:
[INFO] [stdout]           near_sdk::PromiseOrValue
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FungibleTokenMetadataProvider`
[INFO] [stdout]  --> src/lib.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 |     FungibleTokenMetadata, FungibleTokenMetadataProvider, FT_METADATA_SPEC,
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LookupMap`
[INFO] [stdout]  --> src/lib.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | use near_sdk::collections::{LazyOption, LookupMap, UnorderedMap};
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     allowance_of: UnorderedMap<AccountId>
[INFO] [stdout]    |                   ^^^^^^^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 generic parameters: `K`, `V`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-3.1.0/src/collections/unordered_map.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct UnorderedMap<K, V> {
[INFO] [stdout]    |            ^^^^^^^^^^^^ -  -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 22 |     allowance_of: UnorderedMap<AccountId, V>
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `allowance_of`, `balance_of` and `total_supply` in initializer of `Staking`
[INFO] [stdout]   --> src/lib.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut this = Self {
[INFO] [stdout]    |                        ^^^^ missing `allowance_of`, `balance_of` and `total_supply`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> src/lib.rs:65:18
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn stake(amount: u128){
[INFO] [stdout]    |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0107, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `staking` (lib) due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4c1a5f07fda4e9be8912a9ac0ac54fdb079526cb22a2cf5a39dc1cddab5cef3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c1a5f07fda4e9be8912a9ac0ac54fdb079526cb22a2cf5a39dc1cddab5cef3e", kill_on_drop: false }`
[INFO] [stdout] 4c1a5f07fda4e9be8912a9ac0ac54fdb079526cb22a2cf5a39dc1cddab5cef3e
